package com.jrx.anytxn.customer.dto.customer;

import com.jrx.anytxn.customer.entity.CmCustomerLimitInfo;

import java.io.Serializable;
import java.util.List;

/**
 * cms客户端发起的调额/冻结/解冻/注销响应的基础class
 * @author xuhui.gao
 * @date 2020/9/9 14:30
 */
public class CustomerLimitAdjustRes implements Serializable {


    private static final long serialVersionUID = -7052966390686842354L;

    /**
     * 是否允许注销 1.是，0.否
     */
    private String cancelFlag = "0";

    @Override
    public String toString() {
        return "CustomerLimitAdjustRes{" +
                "cancelFlag=" + cancelFlag +
                ", msg='" + msg + '\'' +
                ", limitId='" + limitId + '\'' +
                ", customerLimitInfoResList=" + customerLimitInfoResList +
                '}';
    }

    /**
     * 响应信息
     */
    private String msg;

    private  String limitId;

    private List<CustomerLimitInfoRes> customerLimitInfoResList;

    public String getLimitId() {
        return limitId;
    }

    public void setLimitId(String limitId) {
        this.limitId = limitId;
    }

    public List<CustomerLimitInfoRes> getCustomerLimitInfoResList() {
        return customerLimitInfoResList;
    }

    public void setCustomerLimitInfoResList(List<CustomerLimitInfoRes> customerLimitInfoResList) {
        this.customerLimitInfoResList = customerLimitInfoResList;
    }

    /**
     * 获取 是否允许注销 1.是，0.否
     *
     * @return cancelFlag 是否允许注销 1.是，0.否
     */
    public String getCancelFlag() {
        return this.cancelFlag;
    }

    /**
     * 设置 是否允许注销 1.是，0.否
     *
     * @param cancelFlag 是否允许注销 1.是，0.否
     */
    public void setCancelFlag(String cancelFlag) {
        this.cancelFlag = cancelFlag;
    }

    /**
     * 获取 响应信息
     *
     * @return msg 响应信息
     */
    public String getMsg() {
        return this.msg;
    }

    /**
     * 设置 响应信息
     *
     * @param msg 响应信息
     */
    public void setMsg(String msg) {
        this.msg = msg;
    }
}
